package cn.maxhou.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("employee")
public class Employee {
    @TableField
    @TableId(type= IdType.AUTO)
    private Integer id;
    @TableField
    private String name;
    @TableField
    private String email;
    @TableField
    private Integer age;
}
